<?
/*
 *  GGB - Gelin's Guest Book.
 *  Copyright (C) 2006  Denis Nelubin aka Gelin
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 *
 *  http://gelin.ru
 *  mailto:den@gelin.ru
 *
 *  Description:    System configuration parameters (limited editable).
 *
 *  History:
 *  2006-07-31  Gelin   Initially created.
 *  2007-01-20  Gelin   Added BanChecker.
 *  2007-07-04  Gelin   Task #1  Save user's name which posts message to Cookie.
 *                      - added cookie name
 *
 */

//length of form fields

//message form
$config['maxlength']['name'] = 255;
$config['maxlength']['email'] = 255;
$config['maxlength']['url'] = 255;
$config['maxlength']['message'] = 4096;
$config['maxlength']['reply'] = 4096;

//cookie name for user name
$config['cookie']['name'] = 'GGB_USER_NAME';

//admin login form
$config['maxlength']['login'] = 32;
$config['maxlength']['password'] = 64;

//admin interface inactivity timeout (in seconds)
$config['admin']['timeout'] = 600;  //10 minutes

//class names (files to include)

//storage
$config['require']['storage'] = 'lib/SQLStorage.php';
//formatter of message and forms
$config['require']['formatter'] = 'lib/Formatter.php';
//formatter for admin pages
$config['require']['admin_formatter'] = 'lib/AdminFormatter.php';
//formatter for RSS
$config['require']['rss_formatter'] = 'lib/RssFormatter.php';
//ban checker
$config['require']['ban_checker'] = 'lib/BanChecker.php';
//logger
$config['require']['logger'] = 'lib/Logger.php';
//captcha
$config['require']['recaptcha'] = 'lib/recaptchalib.php';

?>